package com.ssm.mapper;

import java.util.HashMap;
import java.util.Map;

import com.ssm.model.MaterialTemplateModel;
import com.ssm.model.TeacherMaterialModel;
import com.ssm.model.TeacherSummaryModel;

public interface MaterialMapper {
	//admin操作materialTemplate
	MaterialTemplateModel selectMaterialTemplate();
	Integer updateMaterialTemplate(Map paramMap);
	
	//teacher操作material
	Integer insertTeacherMaterial(Map paramMap);
	Integer updateTeacherMaterial(Map paramMap);
	TeacherMaterialModel selectTeacherMaterial(Integer tId);
	TeacherMaterialModel selectTeacherMaterialById(Integer tmId);
	
	//teacher操作summary
	TeacherSummaryModel selectTeacherSummaryById(Integer tsId);
	TeacherSummaryModel selectTeacherSummaryByTid(Integer tId);
	Integer insertTeacherSummaryByTid(Map paramMap);
	Integer updateTeacherSummaryByTid(Map paramMap);
	
	
}
